package com.technician.model.dto.goodsType;

import com.technician.common.PageRequest;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class GoodsTypeQueryRequest extends PageRequest implements Serializable {

    private static final long serialVersionUID = 359675701157505591L;

    /**
     * 分类id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 分类名称
     */
    private String name;


}
